package cn.rengy.tpa.wxmp.pay.protocol.report;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * 测速上报请求对象
 * <p>
 * 参考<a href="https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_8">开发文档
 * </p>
 * <p/>
 */
@XmlRootElement(name = "xml")
public class ReportRequest {

	private String appid;
	private String mch_id;
	private String device_info;
	private String nonce_str;
	private String sign;
	private String interface_url;
	private int execute_time_;
	private String return_code;
	private String return_msg;
	private String result_code;
	private String err_code;
	private String err_code_des;
	private String out_trade_no;
	private String user_ip;
	private String time;

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getMch_id() {
		return mch_id;
	}

	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}

	public String getDevice_info() {
		return device_info;
	}

	public void setDevice_info(String device_info) {
		this.device_info = device_info;
	}

	public String getNonce_str() {
		return nonce_str;
	}

	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getInterface_url() {
		return interface_url;
	}

	public void setInterface_url(String interface_url) {
		this.interface_url = interface_url;
	}

	public int getExecute_time_() {
		return execute_time_;
	}

	public void setExecute_time_(int execute_time_) {
		this.execute_time_ = execute_time_;
	}

	public String getReturn_code() {
		return return_code;
	}

	public void setReturn_code(String return_code) {
		this.return_code = return_code;
	}

	public String getReturn_msg() {
		return return_msg;
	}

	public void setReturn_msg(String return_msg) {
		this.return_msg = return_msg;
	}

	public String getResult_code() {
		return result_code;
	}

	public void setResult_code(String result_code) {
		this.result_code = result_code;
	}

	public String getErr_code() {
		return err_code;
	}

	public void setErr_code(String err_code) {
		this.err_code = err_code;
	}

	public String getErr_code_des() {
		return err_code_des;
	}

	public void setErr_code_des(String err_code_des) {
		this.err_code_des = err_code_des;
	}

	public String getOut_trade_no() {
		return out_trade_no;
	}

	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}

	public String getUser_ip() {
		return user_ip;
	}

	public void setUser_ip(String user_ip) {
		this.user_ip = user_ip;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "ReportRequest{" + "appid='" + appid + '\'' + ", mch_id='" + mch_id + '\'' + ", device_info='"
				+ device_info + '\'' + ", nonce_str='" + nonce_str + '\'' + ", sign='" + sign + '\''
				+ ", interface_url='" + interface_url + '\'' + ", execute_time_='" + execute_time_ + '\''
				+ ", return_code='" + return_code + '\'' + ", return_msg='" + return_msg + '\'' + ", result_code='"
				+ result_code + '\'' + ", err_code='" + err_code + '\'' + ", err_code_des='" + err_code_des + '\''
				+ ", out_trade_no='" + out_trade_no + '\'' + ", user_ip='" + user_ip + '\'' + ", time='" + time + '\''
				+ '}';
	}
}
